﻿using Natural.Attributes;
using Natural.Managers;
using Natural.Model;
using Natural.Providers;

namespace Natural.Observers
{
    [Impl(Type = ImplType.Observer, Name = "Query", Strategy = "Log", Version = 0, Priority = 0)]
    public class QueryLogObserver 
    {
        public void Notify(ActionRequest request, ActionResponse response)
        {
            Logger.Log("Query", Serializer.Serialize(request.Parameters));           
        }
    }
}
